package com.springcloud.serviceprovision.controller;

import com.springcloud.serviceprovision.pojo.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserInfoController {
    @Autowired
    private UserInfo userInfo;

    @GetMapping("/get")
    public UserInfo getUserInfo(){
        return userInfo;
    }
}
